﻿// -----------------------------------------------------------------------
// <copyright file=DmBenhBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class DmBenhBusiness
    {
        DmBenhDataAccess objDa = null;

        public DmBenhBusiness()
        {
            objDa = new DmBenhDataAccess();
        }

        public bool InsertDmBenh(DmBenhEntity obj)
        {
            return objDa.InsertDmBenh(obj);
        }

        public bool EditDmBenh(DmBenhEntity obj)
        {
            return objDa.EditDmBenh(obj);
        }

        public bool DeleteDmBenh(string maBenh)
        {
            return objDa.DeleteDmBenh(maBenh);
        }

        public DmBenhEntity GetDmBenh(string maBenh)
        {
            return objDa.GetDmBenh(maBenh);
        }

        public IList<DmBenhEntity> GetDmBenhList()
        {
            return objDa.GetDmBenhList();
        }

    }
}